package com.itheima.dao;

import com.itheima.pojo.Student;

import java.util.List;

/**
 * @author Xiao
 * @date 2021/9/1
 */
public interface StudentMapper {
    List<Student> selectAll();
    void add(Student student);
    Student selectById(int id);
    void update(Student student);
    void delete(int id);
    Student selectBySname(String sname);
}
